package com.schoolcloud.system.enums;

/**
 * 权限类型枚举
 * @author hongmizfb
 * @date 2025/01/26
 */
public enum SysPermissionTypeEnum { 
    DIRECTORY(0, "目录"),
    MENU(1, "菜单"),
    OPERATE(2, "操作");
    int code;
    String desc;

    SysPermissionTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
